package cn.pconline.autoclub.entity;

import java.util.Date;
import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 * 车友会油值统计
 *
 * @author chensy
 */
@Entity(tableName = "ac_club_stat", firstLevelCache = false, secondLevelCache = false)
public class ClubStat {

    @Id
    @Column(name = "club_id")
    private long clubId;//车友会Id
    @Column(name = "region")
    private long region;//分区
    @Column(name = "total_petrol")
    private long totalPetrol;//总油值
    @Column(name = "total_petrol_update_at")
    private Date totalPetrolUpdate;//总油值
    @Column(name = "day_petrol")
    private long dayPetrol;//昨日油值
    @Column(name = "day_petrol_update_at")
    private Date dayPetrolUpdate;//昨日油值
    @Column(name = "week_petrol")
    private long weekPetrol;//上周油值
    @Column(name = "week_petrol_update_at")
    private Date weekPetrolUpdate;//上周油值
    @Column(name = "total_member")
    private long totalMember;//会员人数
    @Column(name = "total_member_update_at")
    private Date totalMemberUpdate;//会员人数
    @Column(name = "total_vip")
    private long totalVip;//认证人数
    @Column(name = "total_vip_update_at")
    private Date totalVipUpdate;//认证人数
    @Column(name = "level_id")
    private long levelId;//等级Id
    @Column(name = "level_id_update_at")
    private Date levelIdUpdate;//等级Id
    @Column(name = "update_at")
    private Date updateAt;//更新时间
    private Club club;
    @Column(name = "rank_petrol")
    private long rankPetrol; //排名总油值
    @Column(name = "befday_petrol")
    private long befdayPetrol; //前天油值

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public Date getTotalPetrolUpdate() {
        return totalPetrolUpdate;
    }

    public void setTotalPetrolUpdate(Date totalPetrolUpdate) {
        this.totalPetrolUpdate = totalPetrolUpdate;
    }

    public Date getDayPetrolUpdate() {
        return dayPetrolUpdate;
    }

    public void setDayPetrolUpdate(Date dayPetrolUpdate) {
        this.dayPetrolUpdate = dayPetrolUpdate;
    }

    public Date getWeekPetrolUpdate() {
        return weekPetrolUpdate;
    }

    public void setWeekPetrolUpdate(Date weekPetrolUpdate) {
        this.weekPetrolUpdate = weekPetrolUpdate;
    }

    public Date getTotalMemberUpdate() {
        return totalMemberUpdate;
    }

    public void setTotalMemberUpdate(Date totalMemberUpdate) {
        this.totalMemberUpdate = totalMemberUpdate;
    }

    public Date getTotalVipUpdate() {
        return totalVipUpdate;
    }

    public void setTotalVipUpdate(Date totalVipUpdate) {
        this.totalVipUpdate = totalVipUpdate;
    }

    public Date getLevelIdUpdate() {
        return levelIdUpdate;
    }

    public void setLevelIdUpdate(Date levelIdUpdate) {
        this.levelIdUpdate = levelIdUpdate;
    }

    public Club getClub() {
        return club;
    }

    public void setClub(Club club) {
        this.club = club;
    }

    public long getClubId() {
        return clubId;
    }

    public void setClubId(long clubId) {
        this.clubId = clubId;
    }

    public long getRegion() {
        return region;
    }

    public void setRegion(long region) {
        this.region = region;
    }

    public long getTotalPetrol() {
        return totalPetrol;
    }

    public void setTotalPetrol(long totalPetrol) {
        this.totalPetrol = totalPetrol;
    }

    public long getDayPetrol() {
        return dayPetrol;
    }

    public void setDayPetrol(long dayPetrol) {
        this.dayPetrol = dayPetrol;
    }

    public long getWeekPetrol() {
        return weekPetrol;
    }

    public void setWeekPetrol(long weekPetrol) {
        this.weekPetrol = weekPetrol;
    }

    public long getTotalMember() {
        return totalMember;
    }

    public void setTotalMember(long totalMember) {
        this.totalMember = totalMember;
    }

    public long getTotalVip() {
        return totalVip;
    }

    public void setTotalVip(long totalVip) {
        this.totalVip = totalVip;
    }

    public long getLevelId() {
        return levelId;
    }

    public void setLevelId(long levelId) {
        this.levelId = levelId;
    }

	public long getRankPetrol() {
		return rankPetrol;
	}

	public void setRankPetrol(long rankPetrol) {
		this.rankPetrol = rankPetrol;
	}

	public long getBefdayPetrol() {
		return befdayPetrol;
	}

	public void setBefdayPetrol(long befdayPetrol) {
		this.befdayPetrol = befdayPetrol;
	}
    
}
